package com.smsc.headend.connector.service;

import com.smsc.headend.common.constant.ServiceNameConstant;
import com.smsc.headend.module.task.dto.ConnectorTaskResult;
import com.smsc.headend.module.task.dto.Task;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;


@FeignClient(name = ServiceNameConstant.TASK_ENGINE)
public interface TaskEngineService {
    @RequestMapping("/task/callback")
    Integer responseTask(@RequestBody ConnectorTaskResult connectorTaskResult);
}
